wayland: Don't invent our own unstable protocol semantics
authorJonas Ådahl <jadahl@gmail.com>
Mon, 7 Mar 2016 03:49:35 +0000 (11:49 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 10 Mar 2016 04:31:15 +0000 (12:31 +0800)
commitf68cf698fc1476c7d8e8c6a394cf1eb495a0e297
tree93466a4e68898a11def1b0e431d5734500a6eed6
parent30faa9a2a9214178084fe87616ba1982a6700b16
wayland: Don't invent our own unstable protocol semantics

The gtk_shell protocol used some half baked unstable protocol semantics
that worked by only allowing binding the exact version of the
interface. This hack is a bit too confusing and it makes it impossible
to do any compatible changes without breaking things.

So, instead rename it to include a number in the interface names. This
way we can add requests and events without causing compatibility issues,
and we can later remove requests and events by bumping the number in
the interface names.

https://bugzilla.gnome.org/show_bug.cgi?id=763001
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkscreen-wayland.c
gdk/wayland/gdkwindow-wayland.c
gdk/wayland/protocol/gtk-shell.xml